/*
 * Created by JFormDesigner on Fri Aug 05 17:35:54 CST 2022
 */

package client.login;

import client.fileMange.FileMangePanel;
import client.qxMange.PFramePanel;
import client.userMange.UserMangePanel;

import javax.swing.*;
import java.awt.*;

/**
 * @author unknown
 */
public class Main extends JFrame {
    public Main() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
        panel1 = new JPanel();
        tabbedPane1 = new JTabbedPane();
        panel2 = new FileMangePanel();
        panel3 = new UserMangePanel();
        panel4 = new PFramePanel();

        //======== this ========
        var contentPane = getContentPane();

        //======== panel1 ========
        {
            panel1.setBackground(Color.white);
            panel1.setLayout(new BorderLayout());

            //======== tabbedPane1 ========
            {
                tabbedPane1.setBackground(Color.white);
                tabbedPane1.setFont(new Font("\u5fae\u8f6f\u96c5\u9ed1", Font.PLAIN, 16));
                tabbedPane1.addTab("\u6587\u4ef6\u7ba1\u7406", panel2);
                tabbedPane1.addTab("\u7528\u6237\u7ba1\u7406", panel3);
                tabbedPane1.addTab("\u6743\u9650\u7ba1\u7406", panel4);
            }
            panel1.add(tabbedPane1, BorderLayout.CENTER);
        }

        GroupLayout contentPaneLayout = new GroupLayout(contentPane);
        contentPane.setLayout(contentPaneLayout);
        contentPaneLayout.setHorizontalGroup(
            contentPaneLayout.createParallelGroup()
                .addComponent(panel1, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        contentPaneLayout.setVerticalGroup(
            contentPaneLayout.createParallelGroup()
                .addComponent(panel1, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
    private JPanel panel1;
    private JTabbedPane tabbedPane1;
    private FileMangePanel panel2;
    private UserMangePanel panel3;
    private PFramePanel panel4;
    // JFormDesigner - End of variables declaration  //GEN-END:variables
}
